added sleep prevent.