add id an len to checksum