fix mac safety