fix daemon/tools.go