ItemsController error fix