fix transformation of scatterplot
add line to kill previous daemon instances