parsing object classes more properly

diff --git a/libasn1fix/check_fixer.c b/libasn1fix/check_fixer.c
index a64d9bd..c4e3f99 100644
--- a/libasn1fix/check_fixer.c
+++ b/libasn1fix/check_fixer.c
@@ -185,8 +185,10 @@
 		std_asn = asn1p_parse_file("../skeletons/standard-modules/ASN1C-UsefulInformationObjectClasses.asn1", A1P_NOFLAGS);
 		if(std_asn) {
 			asn1p_module_t *mod;
-			while((mod = TQ_REMOVE(&(std_asn->modules), mod_next)))
+			while((mod = TQ_REMOVE(&(std_asn->modules), mod_next))) {
+				mod->_tags |= MT_STANDARD_MODULE;
 				TQ_ADD(&(asn->modules), mod, mod_next);
+			}
 			asn1p_free(std_asn);
 		}
 	}