diff --git a/bugzoo/cli/controllers/bug.py b/bugzoo/cli/controllers/bug.py
index <HASH>..<HASH> 100644
--- a/bugzoo/cli/controllers/bug.py
+++ b/bugzoo/cli/controllers/bug.py
@@ -151,6 +151,7 @@ class BugController(cement.Controller):
     def coverage(self) -> None:
         name_bug = self.app.pargs.bug
         bz = self.app.daemon
+        bugs = self.app.daemon.bugs
         try:
             bug = bugs[name_bug]
         except KeyError:
Fixed use-before-define bug in "bugzoo bug coverage" command (#<I>)