fix asynchronous tag generation