ppc: fixed bug when params is supplied