Fixed hostname sed issue