remove some dead code
fix alt-backspace