minor
checking for dos format (CR) and removing CRs