cleanup api key stuff