Refactorformatter raceevent