cleaned up some graph debugging stuff