fix event id ordering for production