fixing a tolerance