fix autocomplete problem on first load
Merge pull request #28 from backand/fix_autocomplete

fix autocomplete problem on first load