stop using deprecated functions
3 files changed