Get rid of unecessary sed commands