cleanup in delta