accuracy algorythm fix