safe reattach for mac only