fix autocomplite problems