fix bug when current brand is nil