update the logic for fill up the longitude and latitude when they are missing from XFile
Fix #88