fix autocomplete parse ordering