fixed idle log bug