fix the load condition of nvm.