- fixed error setting api key