supermaster anti-race workaround