Bugfix: forgot to set b.mask