fixes to single_joint