adjust errors