fixed stability issue in NEB