Fix crash in pf*