sed without any deviation through the gold foil