correct Google API key handling