fixed all mac problems