adjust tolerance