Fixing dismiss scope