after get token, remove the parameter
better removeparameter for petaltoken