fix api key variable