removed erroneous sleep