[IMP] improve code of triggering signal