Fixed checksum string calculation
fixing compiler errors