fix rrd graph creation