bugfix for the line graph
merge