mod: rework dependencies