correct extraction of transition clauses