fixed error in b7