Fixed bug crash with nei