small bugfix for autocomplete
Merge pull request #267 from chris18890/dev

small bugfix for autocomplete