Fixing error with loading footer