fix `event.name` empty bug