fix flicker on footer