Fix batch pause issue