fixed 0-sleep issue