fix build in autocompleter.