changes for mac version