Fix some bug for report and use pygal to chart