improved boundries and different speed for auto-correction