Fix error in navigation