fixed bug in autocomplete
merged with develop
Merge pull request #331 from massiveart/bugfix/auto-complete-value-key

[BUGFIX] auto complete value key