refine controller daemon