fix error on posts with nil footer