Revert "changed scoped to named_scope"

This reverts commit 8dc22e293ec06a92952e5d592c1cbe2f97b79f17.
changed scoped to named scoping