improve footer initialization