How to prevent poor location tracking