workaround for allowing different thresholds