fixed issue with not encoding params