fix problem with doubleflow rendering