changed nvm detection