fix issues and footer creation