check statusCode in loadInventory. fixes #6