fix latency