Fixed bug in navigation.