correct p into P