fixed bug in checksums