bug fix for report html