Fixed CRC check bug