isolate graphs

previously the private data for two different graphs was actually shared