Fix crash when SMART_BANNER is used.