adjustement to ease pdf generation