fix diffs between revisions