fix \r \n problem