pf bugfixes