Fixing LocationData fetching issue.