delete wrapper