Fixed bug with extending strings.