fix filter key events