fixed add patient issue