Fix in validation of checksum