debug a simple bug at destroy event button