fix bugs: result null
FIX tools build