closes mac