optimize speed
add catchError config for #10