fix potential crash on KKEventQueue