Fixed b not defined.