Fixed inventory issue