Pause crash fix