fixes a navigation style