fix saving brand error.