adjust latency