fixed bug when adding inventory items in supermarket