fixed bug with ECC ChienSearch count_error