fixing auto complete