fix: only one inventory wrapper could be registered.