fixed how API key is handled