default_scope expects a block as its sole argument

fixes #5799