pdf creation help

@jonatandor35 Thanks! I added it in a the error resolved.