add missing parentheses in _loadInventory