fixed errors in PD calcs and reporting
turned off debug