fix edge case empty if_all_ block;type test any_match and all_match