fixes autocomplete for associating existing records