deletes excess data on items/view page