BUGFIX: bugfix for issue #451 is now also working for bars