modelize_class: do not rely on number of errors since things are more robust