Location_x -> Latitude, Location_y -> Longitude + fix empty arrays