removing inventory margin