fixed bugs with getting map info and the robot_pose