Fixed bug in older versions of NVM