modify tool.c
fix log info; close qsort