fix multiple-cursors and neocomplete problems