fix for autocomplete