fix typo in retrieve