resolve some de[reciation warnings