Fixed bugs in class RunSetup().