fixed nvm installation bug