Revert "toal_replace"

This reverts commit 5d683399fe736467ec4fcd645571dcdfbff222e2.