Fix for batch size being in wrong scope format