fix string parsing.