fix bugs in diff view