google api error goes back to main screen