Fixed issue that caused a crash when running the footerGen