fix google api errors