separated method GetChecksum, more debugging for #170