fix top error by putting footers in missing locations