fixed the diff between service and daemon