fix build in autocompleter