Calibrating Forerunner 165 accurately for a treadmill

After every 5K run  on the treadmill I recalibrate the distance. However this has no effect and still churns out random times. Is there a fix for this please?