fixed emac delete