fix bug
modify sleep