fix patients controller