fix npm require