shared module cleanup