There are a large number of variables that may contribute to your GPS Tracker giving inaccurate measurements. Very hilly courses, courses with many turns, courses with thick tree cover or through tunnels, courses near tall buildings, or even courses near power lines may affect your GPS measurements.
GPS will not work on the treadmill and is unlikely to work well inside.