Potential fix for undefined autocompletion