remove direct dependencies