fix tool check