fixed the issue of defaulted patients