added some changes to deal with Mac Mini