fix #default_scope without block deprecation problem