Fixing google api crash