fixes autocomplete issue