bugfix in thresholdrunner