fix never ending loop event issue