fix nvm loading