delete deprecated api