remove lines with \r as well