minor fix to autocomplete