fix removal of macs