fix to remove crazy pdf weights