support c&p in quantoderive, fixed subgraph issue