Fix pgd

fix for process guard hanging processes