cleanup of crypto-batch