Fixed params encode issue.