Fix NPEs in bB(), add more .* permissions