fix footer and some test