Removing bad errors