fix bug of show into inventory or out of  inventory