normalizing loading dependencies cross-environments