fix multi line replace