Fix a variable related error with blank text.