fixed NPE in AB Pruning
bugs