handle strings in batch