normalize min, header fixes, footer fixes