Fixing config for pdf