[NTG-context] Adjustment for header and footer