fix order last id in event