fix race test