Fixed pause functionality