PERT fix

bug mentioned prior fixed