small fixes in batch-download input parameter logic