fix pdf reports