minor fix for autocomplete