fixed the doctor registration