Fixing set angle_limit bug and set punch bug