Fixed bugs in br.