remove thresholdMap from template