fix: exception after choosing a candidate
0.3.5