Fixed bug in string