error handling for image fetch