adjust wait