fix matchcode, brand