a few fixes in Graph classes