fixed auto complete issue