fix custom pf fields