Now Reads branch id from Codes instead of ID. which did not support unicode.