autocomplete category fix