It don't crash the see events anymore

Fix the bug of crashed when press event button