fix inventory not loading when the inventory is private