fixed order of sed