fix another depreciation issue