diff --git a/ippisite/ippidb/models.py b/ippisite/ippidb/models.py
index 3f321df381fd5d605924ea4c373c6be41a29d18b..4456cfa2ba1916a3542f799f48c12fd9cc9fde64 100644
--- a/ippisite/ippidb/models.py
+++ b/ippisite/ippidb/models.py
@@ -434,7 +434,7 @@ class CompoundAction(models.Model):
         get the complexes involved in the compound action
         which are always the bound complexes
         """
-        return ppi.get_ppi_bound_complexes()
+        return self.ppi.get_ppi_bound_complexes()
 
 class RefCompoundBiblio(models.Model):
     compound = models.ForeignKey(Compound)