another attempt at fixing the apikey issue