fix typo in inventory model class