fixed #2 cast $lat, $lng to float