fix process guard