Fixed bug to correct footer display