check if nvm exists