fix access_patient table