fixed the CRC computation, now all test cases are working with CRC turned on