minor refacting in footer and extra pages