fixes api key not working