fix cannot set joint appointment bug