fix hostname so sed will work