fix ctrl-x + select & backspace & delete behavior