Fix for issue with checksum generation