fixed header bug in applicationform PDF