fixed profile update error when inventory is private