fix bug in async configurate