fix inventory examine bug