fixing strange race