fix footer and formatting