bug fix, checked wrong leaves for symmetry