fix logtype for batch