Added max_tf option to correct.