Fix idle hooks run.