fixed some errors in b3mult