diff --git a/ckanext/odsh/profiles/odsh_european_dcatap_profile.py b/ckanext/odsh/profiles/odsh_european_dcatap_profile.py
index 40768ad49fb430886bf9aaeed09baa8a1b0e322c..f0ff5dc4c09368cd6e97ec1f5b9db9ef8b95f556 100644
--- a/ckanext/odsh/profiles/odsh_european_dcatap_profile.py
+++ b/ckanext/odsh/profiles/odsh_european_dcatap_profile.py
@@ -59,7 +59,7 @@ class ODSHEuropeanDCATAPProfile(EuropeanDCATAPProfile):
             # set dcat:mediaType
             for s2, p2, o2 in self.g.triples((s, DCAT['mediaType'], None)):
                 mediaType = o2.decode()
-                if mediaType:
+                if mediaType and not mediaType.startswith(IANA_MEDIA_TYPES):
                     self.g.set(
                         (s, DCAT['mediaType'], rdflib.URIRef(IANA_MEDIA_TYPES[mediaType]))
                     )