fixed sub process end event to not trigger its embedding sub process