resets the views on delete