Fixed bug where unpausing bug