fix the lat and long order