Change algorithm of check/replace value