fix inventory checking