fix BM addresses