error handling for bad response from yahoo