prevent null footer value from passing to text_format