Fix the bug of the error of event's name.