fix pf-pdf and rng-pdf denpency logic