bug fix for literal edge case
better autocomplete for mispelled words and substrings