correction in patienManger

There was recursion