diff --git a/gmap.module b/gmap.module
index d4ee17c..ddde98d 100755
--- a/gmap.module
+++ b/gmap.module
@@ -114,7 +114,7 @@ function gmap_gmap($op, &$map) {
     case 'macro_multiple':
       return array('points', 'markers', 'feed', 'circle', 'rpolygon', 'polygon', 'line', 'style');
     case 'libraries':
-      return array( 'geometry' );
+      return array('geometry');
     case 'behaviors':
       return array(
         'locpick' => array(
@@ -268,7 +268,7 @@ function _gmap_base_js() {
     'v' => variable_get('gmap_api_version', GMAP_API_VERSION),
     'language' => $langcode,
     'sensor' => 'false',
-    'libraries' => implode(array_merge((array)variable_get('gmap_api_libraries',array()),gmap_module_invoke('libraries', $m)),','),
+    'libraries' => implode(array_merge(variable_get('gmap_api_libraries',array()), gmap_module_invoke('libraries', $m)), ','),
   );
   if ($key = gmap_get_key()) {
     $query['key'] = $key;
