diff --git a/www/sites/all/modules/context_addassets/context_addassets.module b/www/sites/all/modules/context_addassets/context_addassets.module
index 1bdee6f..cf43efa 100755
--- a/www/sites/all/modules/context_addassets/context_addassets.module
+++ b/www/sites/all/modules/context_addassets/context_addassets.module
@@ -297,7 +297,7 @@ function _context_addassets_scandir($filetype = NULL, $where='themes') {
       foreach ($modules as $path) {
         if (!$path) continue;
         $dir = realpath('.') . base_path() . $path;
-        $mask = ".+\." . $filetype;
+        $mask = "/.+\." . $filetype . "/";
         $files_raw[$path] = file_scan_directory($dir, $mask);
       }
       break;
