reconstruct footer to layout