Fixed bug with NEI integration