fix flow latency analysis