bugfix in rrd export method