Fixed daemon search issue