minor batch() fix