inventory behaviour bug, hot fixed