Fixed a bug with linking of header and footer elements
?? Fixed a problem with headers and footers ??