quickfix for inventory weaks 1.7.2