fixed sleep condition