Fixed bugs in gimme diff