Fix mac device hotswap