fixed api key call