Fixed auto complete not working as I want.