mix issue with multiline replaces