Fix auto-completion sequence