clean out external dependencies