fixed nab bug