corrected criteria in scopes