修改tools参数,修复一些bug

Signed-off-by: ci_knight <ci_knight@msn.cn>