corrected dependencies between modules