tweaked join scope patterns