urlparams util, un-rot the code