removed huge bug, which affected accuracy