#11 fix autocompleter bug