fix is sleeping detector bug