fixes undefined latLng.D to new google's variable