fix fragments replace + prep examples