Fixed pause issue