fixed latlon initialization issue