remove use of now removed API