fix p set