adjusted auto completion