Fix for inventory usage