fix bugs in max_comb option
ver. 1.0.2