fixed problem with not plotted metric

problem occured when quality metric is created which lead to overwriting
of the original heuristic