Mac OS fix