auto removing bad records
second thought is only auto delete in debug mode