some nrel_ bugs fixed