validate teams and matches