fix widthOfJoint