improvements for event subprocess support