correct a copypaste error and set the parameters of thresholding to their true values