clinic_id bug fixed