updated api key, api error stopping page from loading