fixed a bug on setQueryParam(), I was encoding two times