bugfix: prevent double encode of paramvalues