Fix a minor bug that fetch process will not callback when error.
Fix a bit the style.