fixed dumb inventory error