Fix mismatched module dependencies