error in sed call