autocomplete was not working if installed in subfolder. fixes #2