remove calls to deprec functions