fixed error in navigation