delete messy itemscontroller code