call during autocompletion

There was a bug connected with auto-completion