bugfix double output for main navigation