rename last occurences of statements to triples too