fixed new event bug