fixes #1 with navigation