I use a new device (lenovo p780 android 4.2) and seems there is a problem

On my walking log app, some of them gives wrong results. For example, with sport tracker I walked 1.5 km in 15 min. and the app told me I walked 30 km...
BTW, the problem doesn't occur with all apps, the runkeeper (same device & route) gave me an accurate result.

I understood it's more general problem with many apps and many devices

Is there any solution to that problem?

thanks