diff --git a/includes/openlayers_geocoder.token.inc b/includes/openlayers_geocoder.token.inc
index f59cbbe..d7bdb6a 100644
--- a/includes/openlayers_geocoder.token.inc
+++ b/includes/openlayers_geocoder.token.inc
@@ -16,8 +16,8 @@ function openlayers_geocoder_token_list($type = 'all') {
   if ($type == 'openlayers data') {
 
     $layers = module_invoke('openlayers_views', 'openlayers_layers');
+    $list = array();
     foreach ($layers as $layer_name => $layer) {
-      $list = array();
       $layer = openlayers_layer_load($layer_name);
       $features = $layer->get_features($layer->data['views']['view'], $layer->data['views']['display']);
       foreach ($features as $feature) {
