fix regression testing (error_types)