Issue with incorrect measurement of distance. How to solve this? I already installed my 830 edge device again

My 830 edge is not working correctly. Riding with friends the exact same route. I’ve 38 kilometers my friends 41km! Start Garmin at exact same time and also off... done it several times and only mine is not working correctly. How to solve this?