Fix daemon start.