 					_dead_indexes.push index
 
 					# and find all classes under that namespace
-					reg = new RegExp dependency
-					props = ["classname", "classpath"]
-					found = ArrayUtil.find_all buffer, reg, props, true
-					
+					reg = new RegExp dependency.replace /(\.|\/)/g, "\$1"
+					props = ["classname", "classpath", "filename", "filefolder"]
+					found = ArrayUtil.find_all buffer, reg, props, true, true
+
 					# overwrites its indexes with only the classpath property
 					found[k] = found[k].item.classpath for v, k in found
 					


					dependencies:  dependencies
				}

			# finally executes callback, passing the collected buffer
			cb buffer
	

			for dependency, index in klass.dependencies

				# properties for searching
				props = ["classname", "classpath", "filename", "filefolder"]
				
				# if it was already initialized, increments
				# the index and move forward
