add replace all  prototype