Rangefinder distance measurement

When the aircraft is on the ground, the actual distance is different from the distance measured by the range finder. Is there a way to fix it?

which firmware version? Which rangefinder? Got any logs?