fix bug in string parsing