Fixed bug of event devil square