fixing apikey stuff