add process guard