Get rid of bug with sed