reformat, strip tokenUrl