fix custom_logo handling