Fix bugs with footer page display