add inventory fix