fix phrase/tree