some optimization
add showing CURL error for site admin