TM.replace - stack replace, version++