To make overide value reusable

Change-Id: Ica918e78d0eecc4c7fbecf635269d38044c74657
Reviewed-on: http://review.couchbase.org/37048
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Li Yang <lichenyang2@gmail.com>