changes api key formatting