bug fix for PCF