fix some bugs of web page