add form comment on view page, and fix some bugs