changed variable scope of races manager to use local variables