fix error if not tracking inventory