fixing joint limits