fix mixup between license and api key