Fixed API Key Check