Fixed for mac