bugfix for navigation