fixing unterminated strings.