fix reduce fuction that combines k=v query params to signature string