small bugfix inventory