fixed previewing a subgraph