fix delete-selection-mode ... and auto-complete errors ...