Fix rightgraph errors