Solve starting daemon issue