Fixed set field for mac bug