fixed patientList so that it loads correctly