Hotfix for pause change

fixed an error caused by the fix.