fixed issues of donation and donation batches (#209)