Modify the type of configure variable to line
Change the order and sname
Improve the output of candidate without duplicate