fixing a bug in modifiable string.