fix footer behavior