support for global replace