Fix error in pfop function.