added has_scope and selct_tag