added missing \r also