fix style for mac