diff: fixed bug for multiline changes