fixed add patient bug