fixing lat/long populating bug