add default p behavior
fix p behavior in the ff