fix printdocumenttransition