Fixed error in navigation