                 var term6 : String? = JSONUtil.unescapeString(request.getParameters()![0])
                 var callback6 : IContactResultCallback? =  ContactResultCallbackImpl(id: request.getAsyncId()!)
                 var filter6 : [IContactFilter]? = [IContactFilter]()
-                var filterArray6 : [String] = JSONUtil.stringElementToArray(request.getParameters()![2])
+                var filterArray6 : [String] = JSONUtil.stringElementToArray(request.getParameters()![1])
                 for filterElement6 in filterArray6 {
                     filter6!.append(IContactFilter.toEnum(JSONUtil.dictionifyJSON(filterElement6)["value"] as String!))
                 }

            case "getContactsForFields":
                var callback3 : IContactResultCallback? =  ContactResultCallbackImpl(id: request.getAsyncId()!)
                var fields3 : [IContactFieldGroup]? = [IContactFieldGroup]()
                var fieldsArray3 : [String] = JSONUtil.stringElementToArray(request.getParameters()![1])
                for fieldsElement3 in fieldsArray3 {
                    fields3!.append(IContactFieldGroup.toEnum(JSONUtil.dictionifyJSON(fieldsElement3)["value"] as String!))
                }

            case "getContactsWithFilter":
                var callback4 : IContactResultCallback? =  ContactResultCallbackImpl(id: request.getAsyncId()!)
                var fields4 : [IContactFieldGroup]? = [IContactFieldGroup]()
                var fieldsArray4 : [String] = JSONUtil.stringElementToArray(request.getParameters()![0])
                for fieldsElement4 in fieldsArray4 {
                    fields4!.append(IContactFieldGroup.toEnum(JSONUtil.dictionifyJSON(fieldsElement4)["value"] as String!))
                }
                var filter4 : [IContactFilter]? = [IContactFilter]()
                var filterArray4 : [String] = JSONUtil.stringElementToArray(request.getParameters()![1])
                for filterElement4 in filterArray4 {
                    filter4!.append(IContactFilter.toEnum(JSONUtil.dictionifyJSON(filterElement4)["value"] as String!))
                }
