reformat URLs