minor fixes/graph