change the event order to satisfy the test.It's not a good solution, but has no better sulutions now