exchange spaces with tabs