Fix variable casting in strings.