change variable name and cleanup variable in abstract.pdf.prawn