delete unnecessaries