should have used the old ReplacementContext instead of making a fresh one