fixed a crash error with out NEI