diff --git a/character.py b/character.py
index <HASH>..<HASH> 100644
--- a/character.py
+++ b/character.py
@@ -38,7 +38,8 @@ item's name, and the name of the attribute.
         "SELECT character FROM character_things UNION "
         "SELECT character FROM character_places UNION "
         "SELECT character FROM character_portals UNION "
-        "SELECT character FROM character_subcharacters UNION"
+        "SELECT inner_character FROM character_subcharacters UNION "
+        "SELECT outer_character FROM character_subcharacters UNION "
         "SELECT character FROM character_skills UNION "
         "SELECT character FROM character_stats"]
     demands = ["thing_location", "portal", "spot_coords"]
diff --git a/closet.py b/closet.py
index <HASH>..<HASH> 100644
--- a/closet.py
+++ b/closet.py
@@ -957,6 +957,8 @@ def mkdb(DB_NAME='default.sqlite'):
         except sqlite3.OperationalError as e:
             print("OperationalError during postlude from {0}:".format(tn))
             print(e)
+            import pdb
+            pdb.set_trace()
             saveables.append(
                 (demands, provides, prelude, tablenames, postlude))
             continue
silly error in SQL of character_subcharacters