support for no_autocomplete flag