removal of deprecated apis