reformat cookie reg