Delete macgen