fix batch
add batch temp back