fixed errors in the navigation