enhanced handling of footers