fix sed for new config format