pose_map bug fix