fixed inventory drop bug