attempting to fix invalid nesting of dungeon creation