add error-block class