Fixed typo in daemon.js