Beam quality degradation during the transition from a laser wakefield accelerator to the vacuum is one of the reasons that cause the beam transport distortion, which hinders the way to compact free-electron-lasers. Here, we performed transition simulation to initialize the beam parameters for beam o