fixing a navigation issue