set joint limits properly