           for image in images
             process = new Process()
             process.image = image
-            params = prepareQueryParams(process,queryParams)
+            prepareQueryParams(process,queryParams)
             process.parameters = parameterHelper.matchParams(process, req)
             process.method = serviceInfo.service
             process.rootFolder = image.folder.split(path.sep)[image.folder.split(path.sep).length-2]

    else if queryParams['rootFolder']
      #try to load results
      process = new Process()
      params = prepareQueryParams(process,queryParams)
      process.parameters = parameterHelper.matchParams(process, req)
      process.method = serviceInfo.service
      process.rootFolder = queryParams['rootFolder']

      collection = new Collection()
      collection.name = queryParams['collection']
      collection.method = parameterHelper.getMethodName(req.path)
      prepareQueryParams(collection, queryParams)
      folder = nconf.get('paths:imageRootPath') + path.sep + collection.name
      collection.neededParameters = neededParameters
      collection.inputParameters = queryParams
      collection.image =
