fix treatment of C-x