typo fix in calculateCrc