fix dumb event handler leak bug