fix npm install bugs