fix error handling of bad google