try to fix pdf output