re-format links