Fix average latency