substitute double lines with tee