fix the newreport.jsp page, add some empty and error judgement