change c++ -> c, daemon