Fixed bug with navigation.