fixed checksumming