refactor default config set
add retry