fixed appointment/visit reschedule issue