remove old daemon code