some error handling for google search