fix duplicate API keys