修复tools  bug