fix bug when construct joint_frame from xml