api key fixing