Solved bug on inventory