Fix alias deletion