Change param values from x to p