compact with \r\n