negative param encoding fixed