Update patch for infint loop on mac start