fixing patient and views