hackish fix for auto complete not working