fixed duplicate footer issue