graph visualization fixed