bug fix idle check core