mac os x fixes