added delete in pairs to new, added release in pair to oepncv&capture