fixing module dependencies.