get rid of deprecated API