fixed trying to run triggers on dead processes