fixes #7785, refs #2812 - allow no header/footer