fixed check_tools error