Fix checksum of prime.