fixed small error in daemon.go