Bug fixes related to perturbation in the rand phase with pcf files