footer and other fixes