mods to APPLE specific stuff