Bugfix in checksum verification