fixed itin delete function