remove by data array and id array