fix on destroy batch