reducing dupes in the items controller