fix auto-completion