[#na: fixing bug textValuereplacement]