fix bug
when accept diff, the css style will change