fix for depreciated feature