fixing a possible stopping distance issue