     else
       proc.inputHighlighters = {}
 
-    return params
+    return
 
   createError = (status, message) ->
     err =

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

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