Fix ifinite adding external event

Signed-off-by: walteryang <walteryang47@gmail.com>