diff --git a/ippisite/ippidb/ws.py b/ippisite/ippidb/ws.py
index 7a7cd26cdd1cffde22955ef326bc30a9cc53928e..3e9eebf8eb0f848bc565560b7090071fca2f28a6 100644
--- a/ippisite/ippidb/ws.py
+++ b/ippisite/ippidb/ws.py
@@ -354,9 +354,15 @@ def get_pfam_info(pfam_acc: str) -> dict:
     pfam_id = entry["name"]["short"]
     description = ""
     if entry["description"]:
-        description = "".join(entry["description"]).strip()
-    elif entry["wikipedia"]:
-        description = "".join(entry["wikipedia"]['extract']).strip()
+        if isinstance(entry["description"][0], dict):
+            descriptions_list = []
+            for desc in entry["description"]:
+                descriptions_list.append(desc['text'])
+            description += "".join(descriptions_list).strip()
+        else:
+            description += "".join(entry["description"]).strip()
+    if entry["wikipedia"]:
+        description += "".join(entry["wikipedia"]['extract']).strip()
     return {"id": pfam_id, "description": description}