Fixed error with footer level code