fix npm modules resolver