Fix wron class assigment in autocomplete