fixed error in products controller