Fixed the bugs with checksum feature