add error flag at cc side.