gethalfgraph fix