v121 add custom text replace

* minor improvements