fix for autocompletion in string templates #568