replacing OSX stupid sed