fix wake = 0 and return