     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 =

          for image in images
            process = new Process()
            process.image = image
            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]
