some graph fixes