try to fix timeout and ready