strip mod_type for flexible matching