removed a variable in inventory