tweak options for pdf gen