Fixing variable name collision, causing corruption after generating a PDF report