clean entity