fixed a listener bug. all metrics were saved as workload, without
distinguishing between type.