fix parse with \r