Fix bug importing location information