Correct a segfault of the daemon