fix latency output dir