modified auto-complete-mode