Bugfix for main navigation