diff --git a/scout/models/case/case.py b/scout/models/case/case.py
index <HASH>..<HASH> 100644
--- a/scout/models/case/case.py
+++ b/scout/models/case/case.py
@@ -83,7 +83,7 @@ class Case(Document):
         distinct_genes = set()
         for panel in self.default_panels:
             for gene in panel.gene_objects.values():
-                distinct_genes.add(gene.hgnc_id)
+                distinct_genes.add(gene.hgnc_gene.hgnc_id)
         return distinct_genes
 
     @property
diff --git a/scout/models/case/gene_list.py b/scout/models/case/gene_list.py
index <HASH>..<HASH> 100644
--- a/scout/models/case/gene_list.py
+++ b/scout/models/case/gene_list.py
@@ -37,7 +37,7 @@ class GenePanel(Document):
     @property
     def gene_ids(self):
         for gene in self.gene_objects.values():
-            yield gene.hgnc_id
+            yield gene.hgnc_gene.hgnc_id
 
     @property
     def name_and_version(self):
correct getting hgnc id