fix race selection