anchor.diff:                                        end,
                                     parse_validate_replica_index(proplists:get_value("replicaIndex", Params, ReplicaIndexDefault));
                                 false ->
  -                                  undefined
  +                                  ignore
                             end,
  -                          parse_validate_threads_number(proplists:get_value("threadsNumber", Params)),
  -                          parse_validate_eviction_policy(proplists:get_value("evictionPolicy", Params))
  +                          validate_with_missing(proplists:get_value("threadsNumber", Params), "3", IsNew, fun parse_validate_threads_number/1),
  +                          validate_with_missing(proplists:get_value("evictionPolicy", Params), "valueOnly", IsNew, fun parse_validate_eviction_policy/1)
                             | Candidates2];
                        _ ->
                            [{error, bucketType, <<"invalid bucket type">>}
                             | Candidates2]
                    end,
  +    %% this is to validate that Candidates elements have specific
  +    %% structure
  +    [case E of
  +         %% ok-s are used to keep correctly parsed/validated params
  +         {ok, _, _} -> [];
  +         %% error-s hold errors
  +         {error, _, _} -> [];
  +         %% ignore-s are used to "do nothing"
  +         ignore -> []
  +     end || E <- Candidates],
       {[{K,V} || {ok, K, V} <- Candidates],
        [{K,V} || {error, K, V} <- Candidates]}.
   
  
positive.code:                          [{ok, bucketType, memcached}
                            | Candidates1];
                       membase ->
                           ReplicasNumResult = parse_validate_replicas_number(proplists:get_value("replicaNumber", Params), IsNew),
                           [{ok, bucketType, membase},
                            ReplicasNumResult,
                            case IsNew of
  
negative.code:                                true ->
                                     {error, name, ?l2b(io_lib:format("Bucket name cannot exceed ~p characters",
                                                                      [?MAX_BUCKET_NAME_LEN]))};
                                 _ -> ignore
                             end
                     end,
                     case AuthType of
  