fix case when there is already a wan section