Fixed NEI crash.