fixing some setConf() bugs in truncateAndThreshold