fix create patient bug