jpgraph fix