fixed TypeError caused by missing element in footer on Spectrum pages