Reverting sed fix and postponing till later.