fixes to background pausing