ISPN-3516 Remove deprecated API

fix errors generated by ISPN-3516