Fixing pdf options