CRC check was added

Signed-off-by: Egor Dudyak <gggorec@gmail.com>