bugfix: evt.latency was returning wrong values