same modify with macos in linux