catch remote fetching error with exception; cleaned code