fix set generation in async client