fix bug in JM get brand id