fixed a issue when no autocomplete is used
Merge pull request #1 from jtwhissel/master

fixed a issue when no autocomplete is used