html only print out diff - fix bug