fixed the bug of start this daemon but not scan immediately