bugfix for navbar