fix depreciation warning