set tw and wrap