fixed small bug for outputting checksum