optimize google maps attempt