fix bug of startup random sleep