fix p and pre