Fixed the killed event