minor fix around missing API key