reformat ApiKey