actually apply the multiline paste patch