Corrected nationalized rest pdf generation