fix event length in stats