fixed a-b pruning