changed param encoding